package com.esteel.settlement.entity;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.NamedQuery;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;


/**
 * The persistent class for the TB_SETT_PLAT_INFO database table.
 * 
 */
@Entity
@Table(name="TB_SETT_PLAT_INFO")
@NamedQuery(name="TbSettPlatInfo.findAll", query="SELECT t FROM TbSettPlatInfo t")
public class TbSettPlatInfo implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@SequenceGenerator(name="TB_SETT_PLAT_INFO_INFOID_GENERATOR", sequenceName="SEQ_SETT_PLAT_INFOID",allocationSize=1)
	@GeneratedValue(strategy=GenerationType.SEQUENCE, generator="TB_SETT_PLAT_INFO_INFOID_GENERATOR")
	@Column(name="INFO_ID")
	private long infoId;

	@Column(name="ACCT_ID")
	private String acctId;

	@Column(name="ACCT_NAME")
	private String acctName;

	@Column(name="CCY_CODE")
	private String ccyCode;

	@Column(name="CUR_BALANCE")
	private double curBalance;

	@Column(name="CUST_AVAIL_TOTAL")
	private long custAvailTotal;

	@Column(name="CUST_TOTAL")
	private long custTotal;

	@Column(name="EMAIL_ADDR1")
	private String emailAddr1;

	@Column(name="EMAIL_ADDR2")
	private String emailAddr2;

	@Column(name="FUNC_FLAG")
	private int funcFlag;

	@Column(name="ID_CODE")
	private String idCode;

	@Column(name="ID_TYPE")
	private int idType;

	@Column(name="MOBILE_PHONE1")
	private String mobilePhone1;

	@Column(name="MOBILE_PHONE2")
	private String mobilePhone2;

	@Column(name="OPEN_CUST_FLAG")
	private int openCustFlag;

	@Column(name="RECORD_NUM")
	private int recordNum;

	private String reserve;

	@Column(name="TOTAL_AMOUNT")
	private double totalAmount;

	@Column(name="TOTAL_BALANCE")
	private double totalBalance;

	@Column(name="TOTAL_FREEZE")
	private double totalFreeze;

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name="TRAN_DATE")
	private Date tranDate;

	@Column(name="TRAN_WEB_CODE")
	private String tranWebCode;

	@Column(name="TRAN_WEB_NAME")
	private String tranWebName;

	private double tranOutAmount;

	@Column(name="WEB_CUST_ID")
	private String webCustId;

	@Column(name="WEB_NAME")
	private String webName;

	public TbSettPlatInfo() {
	}

	public long getInfoId() {
		return infoId;
	}

	public void setInfoId(long infoId) {
		this.infoId = infoId;
	}

	public String getAcctId() {
		return acctId;
	}

	public void setAcctId(String acctId) {
		this.acctId = acctId;
	}

	public String getAcctName() {
		return acctName;
	}

	public void setAcctName(String acctName) {
		this.acctName = acctName;
	}

	public String getCcyCode() {
		return ccyCode;
	}

	public void setCcyCode(String ccyCode) {
		this.ccyCode = ccyCode;
	}

	public double getCurBalance() {
		return curBalance;
	}

	public void setCurBalance(double curBalance) {
		this.curBalance = curBalance;
	}

	public double getCustAvailTotal() {
		return custAvailTotal;
	}

	public void setCustAvailTotal(long custAvailTotal) {
		this.custAvailTotal = custAvailTotal;
	}

	public double getCustTotal() {
		return custTotal;
	}

	public void setCustTotal(long custTotal) {
		this.custTotal = custTotal;
	}

	public String getEmailAddr1() {
		return emailAddr1;
	}

	public void setEmailAddr1(String emailAddr1) {
		this.emailAddr1 = emailAddr1;
	}

	public String getEmailAddr2() {
		return emailAddr2;
	}

	public void setEmailAddr2(String emailAddr2) {
		this.emailAddr2 = emailAddr2;
	}

	public int getFuncFlag() {
		return funcFlag;
	}

	public void setFuncFlag(int funcFlag) {
		this.funcFlag = funcFlag;
	}

	public String getIdCode() {
		return idCode;
	}

	public void setIdCode(String idCode) {
		this.idCode = idCode;
	}

	public int getIdType() {
		return idType;
	}

	public void setIdType(int idType) {
		this.idType = idType;
	}

	public String getMobilePhone1() {
		return mobilePhone1;
	}

	public void setMobilePhone1(String mobilePhone1) {
		this.mobilePhone1 = mobilePhone1;
	}

	public String getMobilePhone2() {
		return mobilePhone2;
	}

	public void setMobilePhone2(String mobilePhone2) {
		this.mobilePhone2 = mobilePhone2;
	}

	public int getOpenCustFlag() {
		return openCustFlag;
	}

	public void setOpenCustFlag(int openCustFlag) {
		this.openCustFlag = openCustFlag;
	}

	public int getRecordNum() {
		return recordNum;
	}

	public void setRecordNum(int recordNum) {
		this.recordNum = recordNum;
	}

	public String getReserve() {
		return reserve;
	}

	public void setReserve(String reserve) {
		this.reserve = reserve;
	}

	public double getTotalAmount() {
		return totalAmount;
	}

	public void setTotalAmount(double totalAmount) {
		this.totalAmount = totalAmount;
	}

	public double getTotalBalance() {
		return totalBalance;
	}

	public void setTotalBalance(double totalBalance) {
		this.totalBalance = totalBalance;
	}

	public double getTotalFreeze() {
		return totalFreeze;
	}

	public void setTotalFreeze(double totalFreeze) {
		this.totalFreeze = totalFreeze;
	}

	public Date getTranDate() {
		return tranDate;
	}

	public void setTranDate(Date tranDate) {
		this.tranDate = tranDate;
	}

	public String getTranWebCode() {
		return tranWebCode;
	}

	public void setTranWebCode(String tranWebCode) {
		this.tranWebCode = tranWebCode;
	}

	public String getTranWebName() {
		return tranWebName;
	}

	public void setTranWebName(String tranWebName) {
		this.tranWebName = tranWebName;
	}



	public String getWebCustId() {
		return webCustId;
	}

	public void setWebCustId(String webCustId) {
		this.webCustId = webCustId;
	}

	public String getWebName() {
		return webName;
	}

	public void setWebName(String webName) {
		this.webName = webName;
	}

	public double getTranOutAmount() {
		return tranOutAmount;
	}

	public void setTranOutAmount(double tranOutAmount) {
		this.tranOutAmount = tranOutAmount;
	}

}